package com.linan.user.service.impl;

import com.linan.base.service.impl.BaseServiceImpl;
import com.linan.user.domain.User;
import com.linan.user.mapper.UserMapper;
import com.linan.user.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl extends BaseServiceImpl<User> implements IUserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public User loadByUserName(String username) {
        return userMapper.loadByUserName(username);
    }
}
